var Express = require('express'),
    Router = Express.Router(),

    activityPolicy = require('../policies/policy'),

    activityController = require('../controllers/activity.controller');

Router.route('/getAllActivities').all(activityPolicy.isAllowed).post(activityController.getAllActivities);

Router.route('/getAllActivitiesByDate').all(activityPolicy.isAllowed).post(activityController.getAllActivitiesByDate);


module.exports = Router;


